package com.dongdongshop.service;

import com.dongdongshop.pojo.TbContent;
import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.util.PageBean;

import java.util.List;

public interface ContentService {
    PageBean<TbContent> getinfo(Integer number, Integer pageSize);

    Integer toAdd(TbContent tbContent);

    Integer deleteAll(Long[] ids);

    TbContent toUpdate(Long id);

    Integer updateinfo(TbContent tbContent);

    List<TbContent> getImage();

    List<TbContent> getToday();

    List<TbContent> getLike();
}
